import { LvAuth } from '@/decorator/auth.decorator';
import { Body, Controller, Post } from '@nestjs/common';
import { WxpayService } from './wxpay.service';


@Controller('wxpay')
export class WxpayController {
  constructor(private readonly wxpayService: WxpayService) {}


  @LvAuth()
  @Post('pay')
  async getPay(@Body() body: any) {
    return this.wxpayService.wxPay(body)
  }
}
